package com.ewo.mapper;

import com.ewo.entity.ApplicationPage.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {

    //查找所有公告信息
    public List<Notice> findAllNotice();
    //更新公告已阅读信息
    public int updateNoticeById(long id);
    //根据id获取当前正文
    public Notice findNoticeById(long id);

}
